<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 2020-06-18
 * Time: 16:50
 */

namespace app\api\model;


use think\model\concern\SoftDelete;

class Coupon extends BaseModel
{
    use SoftDelete;

    public function getStartTimeAttr($value)
    {
        return date('Y-m-d H:i:s',$value);
    }

    public function getEndTimeAttr($value)
    {
        return date('Y-m-d H:i:s',$value);
    }
}